import 'package:flutter/cupertino.dart';
import 'package:study_flutter/lyc/LConstant.dart';
import 'package:study_flutter/syh/SConstant.dart';

import 'dyc/DConstant.dart';
import 'wyfg/WConstant.dart';
import 'yzhg/YConstant.dart';

class RConstant {
  static Map<String, WidgetBuilder> getRoutes(BuildContext context) {
    var routesMap = new Map<String, WidgetBuilder>();
    //合并王宇峰的路由映射
    routesMap.addAll(WConstant.getWyfgRoutes(context));
    //合并杨义的路由映射
    routesMap.addAll(YConstant.getYzhgRoutes(context));
    //合并杜亚超的路由映射
    routesMap.addAll(DConstant.getDycRoutes(context));
    //合并李勇聪的路由映射
    routesMap.addAll(LConstant.getLycRoutes(context));
    //合并孙永辉的路由映射
    routesMap.addAll(SConstant.getSyhRoutes(context));
    return routesMap;
  }
}
